import { DICT_ENUM } from "@/enum/dict.enum";
import { getDict } from "./data/dict.data";

export const getDictList = async (type: DICT_ENUM): Promise<DictOption[]> => {
  const data = await getDict(type);
  return data.data;
};
